<!DOCTYPE html> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 
<head> 
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
</head> 
<body>

<?php
	$mysql = new SaeMysql(); 
	$sql = "SELECT * FROM `meta` LIMIT 10";
	$data = $mysql->getData( $sql );
#     $name = strip_tags( $_REQUEST['name'] );
#     $age = intval( $_REQUEST['age'] );
#     $sql = "INSERT  INTO `user` ( `name` , `age` , `regtime` ) VALUES ( '"  . $mysql->escape( $name ) . "' , '" . intval( $age ) . "' , NOW() ) ";
#     $mysql->runSql( $sql );
	if( $mysql->errno() != 0 )
	{
		die( "Error:" . $mysql->errmsg() );
	}

	foreach ($data as $key=>$row) {
	echo $key . " " . $row['title'] . "<br />";
	echo "<img src=\"" . $row['img'] . "\"/>" . "<br />";
	echo "<a href=\"" . $row['link'] . "\">" . "原始地址</a>" . "<br />";
	echo "<a href=\"" . "jwplayer/player.php?name=". $row['download'] . "\">" . "Jwplayer播放(不支持HTML5)</a>" . "<br />";
	echo "<a href=\"" . "jwplayer/player.release.php?name=". $row['download'] . "\">" . "Jwplayer播放(支持HTML5,慢)</a>" . "<br />";
	echo "<a href=\"" . "html5player/player.php?name=". $row['download'] . "\">" . "Frplayer播放(支持HTML5)</a>" . "<br />";
	echo "<a href=\"" . $row['download'] . "\">" . "下载地址</a>" . "<br />";
	echo "<br />";
	}
	$mysql->closeDb();
?>

</body> 
</html>